package com.workpaper.app.workpaper.daily.mapper;

import java.util.List;

import com.workpaper.app.workpaper.daily.entity.DailyWorkpaper;
/**
 * 工作日报Mapper接口
 * @author zyj
 *
 */
public interface DailyWorkpaperMapper {
	/**
	 * 保存工作日报
	 * @param workpaperDaily
	 */
	public void saveWorkpaperDaily(DailyWorkpaper workpaperDaily);
	/**
	 * 查询所有工作日报
	 * @return
	 */
	public List<DailyWorkpaper> getAllWorkpaperDaily();
	
	/**
	 * 根据主键查询
	 * @return
	 */
	public DailyWorkpaper selectById(String id);
	
	/**
	 * 删除工作日报
	 * @param id
	 * @return
	 */
	public int deleteById(String id);
	
	/**
	 * 更新一条数据
	 * @param dailyWorkpaper
	 * @return
	 */
	public int updateOne(DailyWorkpaper dailyWorkpaper);
}
